package org.example.javademo.test08.demo3;


/**
 * 桃木门
 * @author gwf
 * @date 2025-03-04
 */
public class MahoganyDoor extends Door implements Exorcism{
    public void open() {
        System.out.println("桃木门打开");
    }

    public void close() {
        System.out.println("桃木门关闭");
    }
    @Override
    public void exorcism() {
        System.out.println("桃木门发出辟邪光芒!");
    }
}
